package com.dengyafei.bean;

/**
 * @author 邓亚非
 */
public class PositionEntity {
    private Integer pid;

    private Integer hid;

    private String name;

    private String pdesc;

    private Integer pnumbers;

    private String paddress;

    private String peducation;

    private Integer psalary;

    private String company;

    public PositionEntity(Integer pid, Integer hid, String name, String pdesc, Integer pnumbers, String paddress, String peducation, Integer psalary, String company) {
        this.pid = pid;
        this.hid = hid;
        this.name = name;
        this.pdesc = pdesc;
        this.pnumbers = pnumbers;
        this.paddress = paddress;
        this.peducation = peducation;
        this.psalary = psalary;
        this.company = company;
    }

    public PositionEntity() {
        super();
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public Integer getHid() {
        return hid;
    }

    public void setHid(Integer hid) {
        this.hid = hid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPdesc() {
        return pdesc;
    }

    public void setPdesc(String pdesc) {
        this.pdesc = pdesc == null ? null : pdesc.trim();
    }

    public Integer getPnumbers() {
        return pnumbers;
    }

    public void setPnumbers(Integer pnumbers) {
        this.pnumbers = pnumbers;
    }

    public String getPaddress() {
        return paddress;
    }

    public void setPaddress(String paddress) {
        this.paddress = paddress == null ? null : paddress.trim();
    }

    public String getPeducation() {
        return peducation;
    }

    public void setPeducation(String peducation) {
        this.peducation = peducation == null ? null : peducation.trim();
    }

    public Integer getPsalary() {
        return psalary;
    }

    public void setPsalary(Integer psalary) {
        this.psalary = psalary;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company == null ? null : company.trim();
    }
}